package proto

import (
	"bytes"
	"compress/gzip"
	"fmt"
	"io"
	"strings"
)

func bindata_read(data []byte, name string) ([]byte, error) {
	gz, err := gzip.NewReader(bytes.NewBuffer(data))
	if err != nil {
		return nil, fmt.Errorf("Read %q: %v", name, err)
	}

	var buf bytes.Buffer
	_, err = io.Copy(&buf, gz)
	gz.Close()

	if err != nil {
		return nil, fmt.Errorf("Read %q: %v", name, err)
	}

	return buf.Bytes(), nil
}

var _proto_micro_mall_search_proto_search_business_search_swagger_json = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x56\xcb\x6e\x13\x31\x14\xdd\xe7\x2b\x2c\xc3\x12\x35\xa5\xec\xba\x2b\x51\xa4\x56\x15\x2d\xca\x34\x12\x12\xaa\x46\xce\xcc\x9d\xc4\xcd\xd8\x9e\xfa\x11\x88\x50\x16\x6c\x58\x23\x55\x08\x16\xac\xd8\xb3\x63\xd5\xff\x09\x88\xbf\x40\x9e\x4c\x26\xf3\xf0\x34\x21\x41\x42\x95\x9a\x55\xc6\xf7\xe1\x7b\xae\xcf\xb9\xf6\xbb\x16\x42\x58\xbd\x21\xc3\x21\x48\x7c\x88\xf0\xc1\xde\x3e\x7e\x62\xd7\x28\x8f\x04\x3e\x44\xd6\x8e\x10\xd6\x54\xc7\x60\xed\x89\x14\x5a\xb4\x19\x0d\xa4\xf0\x19\x89\x63\x5f\x01\x91\xc1\xc8\x5f\xac\x67\x1f\x03\xa3\x28\x07\xa5\xb2\xef\xbd\xd4\x98\xa6\x45\x08\x4f\x40\x2a\x2a\xb8\x4d\x96\xfd\x45\x5c\x68\xa4\x40\xe3\x16\x42\xb3\x74\xf3\x40\x70\x65\x18\x28\x7c\x88\x5e\x2f\xa2\x48\x92\xc4\x34\x20\x9a\x0a\xde\xbe\x52\x82\x5b\xdf\xcb\xd4\x37\x91\x22\x34\xc1\x86\xbe\x44\x8f\xd4\x0a\x55\x7b\xf2\x34\x2b\xb1\xad\x46\x22\xc9\x0d\x08\xe1\x21\xe8\xc2\xa7\xed\x91\x61\x8c\xc8\xa9\x2d\x7b\x7e\xfb\xf9\xf7\xcd\xed\xcf\x8f\x5f\x7f\xfd\xf8\x96\xa1\x4a\x5d\x44\x02\x32\xdd\xf5\x24\xb4\x6e\x5e\x9a\xf9\x79\xd6\x0b\x0f\xe4\x84\x06\xe0\x7b\x23\x91\x2c\x2c\xc5\x50\x09\x2a\x11\x5c\x81\x2a\x6d\x8a\x10\x3e\xd8\xdf\xaf\x2c\x21\x84\x43\x50\x81\xa4\x89\xce\xda\x78\x84\x94\x09\x02\x50\x2a\x32\x31\x5a\x66\xda\x2b\xa4\x5f\x00\x08\x46\xc0\x48\x2d\x19\x42\xf8\xb1\x84\xc8\xe6\x79\xd4\x0e\x21\xa2\x9c\xda\xbc\xaa\x7a\x96\xab\xba\x7b\xd9\x0e\xb8\x94\x67\x56\xf8\x9a\x15\xb7\xc6\x21\x44\xc4\xc4\x7a\x3d\x0c\x8e\x0c\x87\xb7\x09\x04\x1a\x42\x04\x52\x0a\x99\xa3\xd9\x15\x8c\x34\x5c\x53\x06\x5d\x9b\xf4\x8e\xba\x5b\x0e\x04\x38\x21\x92\x30\xd0\x20\x57\x14\x5b\xfc\x2a\x70\x38\x61\xa9\x44\x2c\x95\xfc\x31\x4c\xab\x35\xd3\x14\xe5\xb5\x01\x59\x33\x49\xb8\x36\x54\x82\xa5\x4d\x44\x62\x05\x15\xb3\x9e\x26\x8b\xcc\x5a\x52\x3e\xc4\xce\x8a\x2f\x0b\x15\x6b\x32\xac\xd6\xea\x66\xe3\x2a\xd5\x65\xab\x98\x30\x83\x5f\x12\xc8\xd8\xb4\x29\x9f\x00\xd7\x22\x55\xc1\x66\x4a\xf9\xf4\x61\x7e\xf3\x7e\x7e\x7b\x33\xff\xfe\x65\x5b\xbd\x8c\xcd\xc9\x72\xdb\x7b\xa9\x9b\x5a\xfd\x0f\xfa\xc9\x7e\x4d\xfa\x19\x9b\xfb\x2e\x9f\xfc\x22\x2b\xf4\x70\x75\xed\xa4\xd7\xe1\xc0\x44\x47\xbc\x24\xa4\x65\x99\x62\x70\x05\x81\xce\x31\x5a\xf7\x04\xa4\xa6\x15\x92\xa7\xfe\xbe\x91\x71\x95\xfa\x4d\x70\x8b\x67\x32\x21\xb1\x81\x35\x81\x25\x12\x46\x42\x32\x62\x39\x88\x07\x53\x5d\x00\x3e\x73\xce\x8d\x12\x5d\x76\x80\x08\x95\x04\x1b\xe3\x0b\x44\xd8\x08\x8f\x72\x0d\xf6\xb5\xd3\x80\x8f\x72\xfd\xec\xc0\x9d\x95\x81\x52\x64\xb8\xae\x6f\xce\xd0\x10\x34\xa1\x71\x6d\x4c\x2d\x43\x89\x94\xa4\x4c\x6b\x4c\x35\xb0\xaa\x7f\xa3\x3e\x8b\x94\x72\x0b\xd2\x79\x4e\x95\x59\xd5\x11\x8c\x09\x9e\xcf\xa7\x1d\x0e\xce\xd5\xff\x8d\xc6\x65\x0f\x74\xc7\xc6\xba\xfb\xaf\x86\x1b\xf7\x7e\x13\xbc\xcb\xcd\x1c\x40\x2b\x1a\xc0\xc0\x0d\x2b\xcd\x04\xec\xf5\x3b\x9d\xae\xe7\x15\x6f\xa3\x6e\xaf\x77\xde\x2b\x2e\xf4\xbd\x6e\xcf\x3f\x3b\xbf\xf0\xbb\xaf\x4e\xbc\x8b\x9a\xa5\xb6\xfa\xa2\xdb\xeb\x1c\x1f\x9d\x5d\xb8\x63\x72\x6b\xcd\xe2\x1d\x9f\xbf\x74\xc7\xa4\x96\xfa\xea\x69\xbf\xc1\xfd\xb4\x9f\x2d\x66\x6b\xf9\x5c\x2c\x5c\x43\x39\xf4\xbb\x7a\xbb\x7a\x2f\x76\xb9\x96\x3b\x0d\xba\xf4\x41\x45\xc3\x6d\x64\x97\x86\x66\x17\xcb\xdf\x07\x07\x42\x36\x06\x72\xc3\x06\xcd\x43\x24\x14\x66\x10\xaf\x1d\x93\xeb\x9f\xd8\x3b\x49\xd0\x8a\x79\x2b\x11\x56\xe6\x80\xb3\x39\x31\x55\xd5\x27\xc9\x3f\x9b\x66\x6b\xa8\xb4\xfd\x80\x2b\x3e\xc6\xfe\x2b\x2d\xc7\xc6\xbf\xeb\x8a\x5a\x17\x7b\x6f\x18\xdd\xfc\xf8\x7d\x60\xb6\x93\x8f\x9b\x70\xdb\xbe\x2e\x5b\xb3\xd6\x9f\x00\x00\x00\xff\xff\x02\xf0\x6b\x67\xbb\x11\x00\x00")

func proto_micro_mall_search_proto_search_business_search_swagger_json() ([]byte, error) {
	return bindata_read(
		_proto_micro_mall_search_proto_search_business_search_swagger_json,
		"proto/micro_mall_search_proto/search_business/search.swagger.json",
	)
}

// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
	cannonicalName := strings.Replace(name, "\\", "/", -1)
	if f, ok := _bindata[cannonicalName]; ok {
		return f()
	}
	return nil, fmt.Errorf("Asset %s not found", name)
}

// AssetNames returns the names of the assets.
func AssetNames() []string {
	names := make([]string, 0, len(_bindata))
	for name := range _bindata {
		names = append(names, name)
	}
	return names
}

// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() ([]byte, error){
	"proto/micro_mall_search_proto/search_business/search.swagger.json": proto_micro_mall_search_proto_search_business_search_swagger_json,
}
// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
//     data/
//       foo.txt
//       img/
//         a.png
//         b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
	node := _bintree
	if len(name) != 0 {
		cannonicalName := strings.Replace(name, "\\", "/", -1)
		pathList := strings.Split(cannonicalName, "/")
		for _, p := range pathList {
			node = node.Children[p]
			if node == nil {
				return nil, fmt.Errorf("Asset %s not found", name)
			}
		}
	}
	if node.Func != nil {
		return nil, fmt.Errorf("Asset %s not found", name)
	}
	rv := make([]string, 0, len(node.Children))
	for name := range node.Children {
		rv = append(rv, name)
	}
	return rv, nil
}

type _bintree_t struct {
	Func func() ([]byte, error)
	Children map[string]*_bintree_t
}
var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
	"proto": &_bintree_t{nil, map[string]*_bintree_t{
		"micro_mall_search_proto": &_bintree_t{nil, map[string]*_bintree_t{
			"search_business": &_bintree_t{nil, map[string]*_bintree_t{
				"search.swagger.json": &_bintree_t{proto_micro_mall_search_proto_search_business_search_swagger_json, map[string]*_bintree_t{
				}},
			}},
		}},
	}},
}}
